package com.zxh.mall.order.feign;

import com.zxh.mall.common.utils.R;
import com.zxh.mall.order.vo.LockStockResult;
import com.zxh.mall.order.vo.WareSkuLockVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author zhengxh
 * @version 1.0
 * @date 2024/5/21 - 05 - 21 - 12:08
 * @description com.zxh.mall.order.feign
 */
@FeignClient("mall-ware")
public interface WareFeignService {

    @PostMapping("/ware/waresku/lock/order")
    public R orderLockStock(@RequestBody WareSkuLockVO vo);
}
